package org.spring.application.service;

import org.spring.application.interf.AInterface;
import org.spring.spring.anno.Aspect;
import org.spring.spring.anno.Component;
import org.spring.spring.anno.Resource;

/**
 * @projectName: sky-springboot
 * @package: org.spring.application.service
 * @className: AService
 * @author: zhl
 * @description: TODO
 * @date: 2024/3/21 11:43
 * @version: 1.0
 */
@Aspect
@Component
public class AService implements AInterface {

    @Resource
    private BService bService;


    @Override
    public void getFieldMessage() {
        System.out.println("AService打印属性BService的bean对象（存在aop的循环依赖）：" + bService);
    }
}
